package zhangxinhua.lanqiaoyun.sp3;

/**
 * TODO
 *
 * @author zxhtom
 * 2022/8/1
 */
public class Law {
    private static Law law = new Law();
    private Law() {

    }
    public static Law getInstance() {
        return law;
    }

    public boolean leave(People people) {
        if (people == null || people.getIndex() % 9 == 0) {
            return true;
        }
        return false;
    }
}
